package cn.powertime.evaluation.mapper;

import cn.powertime.evaluation.entity.SysRole;
import cn.powertime.evaluation.vo.RespSysRolePageListVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author ZYW
 * @since 2019-09-02
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    IPage<RespSysRolePageListVo> mySelectPage(Page page, @Param("name") String name, @Param("code") String code);


    Integer batchDel(@Param("ids") List<String> strings);
}
